package com.example.shop.sys.menu.dao;


import com.example.shop.base.BaseDao;
import com.example.shop.domain.sys.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  权限菜单mapper
 * @author haocj
 */
@Mapper
public interface SysMenuDao extends BaseDao<SysMenu> {

    /**
     * 查询用户下的菜单权限
     * @param uid
     * @return
     */
    List<SysMenu> findUserMenu(@Param("uid")String uid);

}
